@import './variable.less';

.agent {
  .area {
    margin-top: 30px;
    padding: 10px;
    background-color: #f9f9f9;

    ul li {
      float: left;
    }
  }

  .agent-list {
    width: 910px;
    margin-top: 30px;
    border-top: 5px solid @theme;
    margin-bottom: 20px;
    overflow: hidden;

    .tip {
      margin-top: 50px;
      font-size: 18px;
      text-align: center;
      padding: 0 20px;
    }
  }

  .agent-info {
    padding: 20px;
    border-bottom: 1px dashed #ccc;
  }

  .agent-img {
    width: 107px;
    height: 132px;
    margin-right: 10px;
    cursor: pointer;

    img {
      width: 100%;
      height: 100%;
      margin-right: 132px;
      display: block;
    }
  }

  .info {
    width: calc(100% - 117px);
    position: relative;

    .pos-tag {
      position: absolute;
      top: 0;
      left: 70px;

      .position {
        display: inline-block;
        vertical-align: bottom;
        color: #000;
        font-size: 12px;
        width: 59px;
        height: 20px;
        line-height: 20px;
        background-color: #f0f0f0;
        text-align: center;
        margin-left: 4px;
      }

      .tag3 {
        display: inline-block;
        height: 22px;
        background-color: #f0f2f7;
        border-radius: 10px;
        margin-left: 5px;
        color: @theme;
        font-size: 12px;
        text-align: center;
        line-height: 22px;
        padding: 0 4px;
      }
    }

    .tit {
      height: 132px;
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      justify-content: space-between;

      .name {
        font-size: 18px;
        color: #0084ff;
        cursor: pointer;

        &:hover {
          color: @theme;
        }
      }
    }

    .el-tag {
      color: #fff;
      float: left;
      border: none;
      margin-right: 5px;
    }

    .rate {
      margin-left: 55px;
      padding-top: 60px;
      width: 200px;
    }

    .phone {
      height: 100%;
      line-height: 132px;
      font-size: 22px;
      color: @theme;
    }
  }


  // 分页
  .pagination {
    width: 100%;
    // position: absolute;
    // bottom: 0;
    margin: 20px 0;

    .el-pagination {
      text-align: center;
    }

    /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active {
      background-color: @theme;

      &:hover {
        color: #fff;
      }
    }

    /deep/ .el-pagination.is-background .el-pager li:not(.disabled):hover {
      color: @theme;
    }
  }

  .recommend {
    width: 290px;
    margin-top: 30px;
    // background-color: pink;
  }

  .bord {
    width: 200px;
    height: 30px;
    background-color: @theme;
    margin: 0 auto 20px;
    position: relative;
    text-align: center;
    line-height: 30px;

    p {
      color: #fff;
      font-weight: bold;
    }

    &:before {
      content: '';
      width: 0;
      height: 0;
      display: block;
      border: 15px solid seagreen;
      border-right-width: 20px;
      border-left-color: transparent;
      position: absolute;
      top: 10px;
      left: -25px;
      z-index: -1;
    }

    &:after {
      content: '';
      width: 0;
      height: 0;
      display: block;
      border: 15px solid seagreen;
      border-left-width: 20px;
      border-right-color: transparent;
      position: absolute;
      top: 10px;
      right: -25px;
      z-index: -1;
    }

    .bord2 {
      &:before {
        content: '';
        width: 0;
        height: 0;
        display: block;
        border: 5px solid #000;
        border-left-color: transparent;
        border-bottom-color: transparent;
        position: absolute;
        top: 30px;
        left: 0;
      }

      &:after {
        content: '';
        width: 0;
        height: 0;
        display: block;
        border: 5px solid #000;
        border-right-color: transparent;
        border-bottom-color: transparent;
        position: absolute;
        top: 30px;
        right: 0;
      }
    }
  }

  .recommend {
    >ul {
      margin: 10px;
      padding: 10px;

      >li {
        padding: 20px 0;
        border-bottom: 1px solid #ddd;

        .img {
          width: 66px;
          height: 74px;
          background-color: #ccc;
          cursor: pointer;

          img {
            width: 100%;
            height: 100%;
            display: block;
          }
        }

        .re_info {
          margin-left: 10px;
          margin-top: 5px;

          .name {
            cursor: pointer;

            &:hover {
              color: @theme;
            }
          }

          .phone {
            margin-top: 5px;
            color: @theme;
          }

          .tag {
            color: #ccc;
            font-size: 14px;
            margin-top: 5px;
          }
        }
      }
    }
  }


}